package net.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@EnableScheduling//启动定时任务配置
@EnableAsync//启用异步调用配置
public class Main {
	public static void main(String[] args) {
		SpringApplication.run(Main.class, args);
	}

}